<script>
export default {
    name: "com-functionRender",
    functional: true,
    props: {
        data: Object,
        render: Function
    },
    render: (h, ctx) => {
        const params = {
            data: ctx.props.data,
            scopedSlots: ctx.scopedSlots
        };
        return ctx.props.render(h, params);
    }
};
</script>
